package com.chaoyinsu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@MapperScan("com.chaoyinsu.mapper")
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})//禁用默认配置数据源
@EnableAspectJAutoProxy //开启Spring Boot对AOP的支持
public class MultipleDataSourcesApplication {

    public static void main(String[] args) {
        SpringApplication.run(MultipleDataSourcesApplication.class, args);
    }

}
